import Layout from '@/layout'
import ParentView from '@/components/ParentView'
//River‌EnvResource
export const RiverDataRouter = [
        {
            "name": "水环境基础数据",
            "path": "/shjjcsj",
            "hidden": false,
            "redirect": "noRedirect",
            "component": Layout,
            "alwaysShow": true,
            "meta": {
                "title": "水环境基础数据",
                "icon": "system",
                "noCache": false,
                "link": null
            },
            "children": [
                {
                    "name": "行政区划",
                    "path": "shjjcsj",
                    "hidden": false,
                    component: () => import('@/views/system/user/profile/index'),
                    "meta": {
                        "title": "行政区划",
                        "icon": "user",
                        "noCache": false,
                        "link": null
                    },
                },
                {
                    "name": "流域",
                    "path": "ly",
                    "hidden": false,
                    component: () => import('@/views/system/user/profile/index'),
                    "meta": {
                        "title": "流域",
                        "icon": "user",
                        "noCache": false,
                        "link": null
                    },
                },
                {
                    "name": "河流",
                    "path": "hl",
                    "hidden": false,
                    component: () => import('@/views/system/user/profile/index'),
                    "meta": {
                        "title": "河流",
                        "icon": "user",
                        "noCache": false,
                        "link": null
                    },
                },
                {
                    "name": "湖库",
                    "path": "hk",
                    "hidden": false,
                    component: () => import('@/views/system/user/profile/index'),
                    "meta": {
                        "title": "湖库",
                        "icon": "user",
                        "noCache": false,
                        "link": null
                    },
                },
                {
                    "name": "闸口",
                    "path": "zk",
                    "hidden": false,
                    component: () => import('@/views/system/user/profile/index'),
                    "meta": {
                        "title": "闸口",
                        "icon": "user",
                        "noCache": false,
                        "link": null
                    },
                },
                {
                    "name": "断面",
                    "path": "dm",
                    "redirect": "noRedirect",
                    "component": ParentView,
                    "alwaysShow": true,
                    "meta": {
                        "title": "断面",
                        "icon": "user",
                        "noCache": false,
                        "link": null
                    },
                    children:[
                        {
                            "name": "断面信息",
                            "path": "dmxi",
                            "hidden": false,
                            component: () => import('@/views/system/user/profile/index'),
                            "meta": {
                                "title": "断面信息",
                                "icon": "user",
                                "noCache": false,
                                "link": null
                            }
                        },
                        
                    ]
                },
            ]
        }
    ]